{% extends "layout.html" %}

{% block content %}
    <div class="container">
        <h1>修改员工信息</h1>
    </div>
    <div class="container">
        <form class="form" method="post">
            {% csrf_token %}
            {% for field in form %}
                <dic>
                    <label>{{ field.label }}</label>
                    {{ field }}
                </dic>
                <span style="color: red">{{ field.errors.0 }}</span>
            {% endfor %}
            <div class="form-group col-md-6">
                <button type="submit" class="btn btn-primary btn-sm ">提交</button>
            </div>
        </form>
    </div>
{% endblock %}